package com.der.play.controller;

import com.google.common.collect.Maps;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author K0790016
 **/
@RestController
public class DemoController {

    @GetMapping("demo")
    public Map<String, Object> demo() {
        Map<String, Object> map = Maps.newHashMap();
        map.put("success", true);
        return map;
    }

}
